import {createRouter, createWebHistory} from 'vue-router'
import right from "@/components/comment/right.vue";
const login =()=> import('@/views/login.vue')
const left =()=> import('@/components/comment/left.vue')
const index=()=>import('@/views/index.vue')
const router = createRouter({
    history: createWebHistory(import.meta.env.BASE_URL),
    routes: [
        {
            path: '/',
            name: 'login',
            component: login,
        },
        {
            path: '/left',
            name: 'left',
            component: left,
        },
        {
            path: '/right',
            name: 'right',
            component: right,
        },
        {
            path: '/index',
            name: 'index',
            component: index,
        }
    ]
})

export default router
